package com.itheima.wms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.wms.common.service.ICrudService;
import com.itheima.wms.dto.CheckDTO;
import com.itheima.wms.dto.ReceiptDTO;
import com.itheima.wms.entity.AreaEntity;
import com.itheima.wms.entity.CheckEntity;
import com.itheima.wms.vo.BatchVO;
import com.itheima.wms.vo.CheckDetailVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 业务接口
 * 盘点单
 * </p>
 */
public interface CheckService extends ICrudService<CheckEntity> {

    BatchVO task(List<Long> ids);

    CheckDetailVO getDetail(Long id);

    IPage<CheckDetailVO> pageDetail(Page<CheckDetailVO> page, Map data);

    Long generatorCheck(AreaEntity areaEntity);

    void cancel(CheckDTO data);
}
